package com.ccp.dev.qbdms.model;

import com.ccp.dev.qbdms.annotation.IsAttachment;
import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.FlowSubject;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.Record;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 质量技术支撑机构表 w_qbd_quasuporg_base
 * 
 * @author y
 * @date 2020-07-06 20:12:54
 */
@ExpAnnotation(description = "质量技术支撑机构")
@ImpAnnotation(description = "质量技术支撑机构")
@FlowSubject(subjectName = "质量技术支撑机构")
public class WQbdQuasuporgBase extends  BaseBusinessModel<WQbdQuasuporgBase>
{
	private static final long serialVersionUID = 1L;

    /**
     * 主键
    */
    private String  id;
    /**
     * 机构名称
    */
    @Record(value = "机构名称")
    @ExpAnnotation(description = "机构名称")
    @ImpAnnotation(description = "机构名称",isRequired = true)
    private String  orgName;
    /**
     * 挂靠单位
    */
    @Record(value = "挂靠单位")
    @ExpAnnotation(description = "挂靠单位")
    @ImpAnnotation(description = "挂靠单位",isRequired = true)
    private String  affiliatedUnits;
    /**
     * 批复时间
    */
    @Record(value = "批复时间")
    @ExpAnnotation(description = "批复时间")
    @ImpAnnotation(description = "批复时间",isRequired = true)
    private Date  replyTime;
    /**
     * 批复文号
    */
    @Record(value = "批复文号")
    @ExpAnnotation(description = "批复文号")
    @ImpAnnotation(description = "批复文号")
    private String  replyNo;
    /**
     * 挂牌情况
    */
    @Record(value = "挂牌情况")
    @ExpAnnotation(description = "挂牌情况")
    @ImpAnnotation(description = "挂牌情况")
    private String  listing;
    /**
     * 挂牌单位
    */
    @Record(value = "挂牌单位")
    @ExpAnnotation(description = "挂牌单位")
    @ImpAnnotation(description = "挂牌单位")
    private String  listingUnit;
    /**
     * 联系人
    */
    @Record(value = "联系人")
    @ExpAnnotation(description = "联系人")
    @ImpAnnotation(description = "联系人")
    private String  contacts;
    /**
     * 联系方式
    */
    @Record(value = "联系方式")
    @ExpAnnotation(description = "联系方式")
    @ImpAnnotation(description = "联系方式")
    private String  contactsInfo;
    /**
     * 批复文件
    */
    @IsAttachment
    @Record(value = "批复文件")
    private String  replyDoc;
    /**
     * 质量技术支撑机构_资质认定表
     */
    @ExpAnnotation(isSubTable = true)
    @ImpAnnotation(isSubTable = true)
    @IsAttachment(isSubTable = true)
    private List<WQbdQuasuporgAffirm> wQbdQuasuporgAffirmList = new ArrayList<>();
    /**
     * 质量技术支撑机构_监督检查表
     */
    @ExpAnnotation(isSubTable = true)
    @ImpAnnotation(isSubTable = true)
    @IsAttachment(isSubTable = true)
    private List<WQbdQuasuporgInspect> wQbdQuasuporgInspectList = new ArrayList<>();
    /**
     * 质量技术支撑机构_会议表
     */
    @ExpAnnotation(isSubTable = true)
    @ImpAnnotation(isSubTable = true)
    @IsAttachment(isSubTable = true)
    private List<WQbdQuasuporgMeeting> wQbdQuasuporgMeetingList = new ArrayList<>();
    /**
     * 质量技术支撑机构_工作总结表
     */
    @ExpAnnotation(isSubTable = true)
    @ImpAnnotation(isSubTable = true)
    @IsAttachment(isSubTable = true)
    private List<WQbdQuasuporgSummary> wQbdQuasuporgSummaryList = new ArrayList<>();
    /**
     * 质量技术支撑机构_规章制度表
     */
    @ExpAnnotation(isSubTable = true)
    @ImpAnnotation(isSubTable = true)
    @IsAttachment(isSubTable = true)
    private List<WQbdQuasuporgSystem> wQbdQuasuporgSystemList = new ArrayList<>();

    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOrgName() {
        return this.orgName;
    }
    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
    public String getAffiliatedUnits() {
        return this.affiliatedUnits;
    }
    public void setAffiliatedUnits(String affiliatedUnits) {
        this.affiliatedUnits = affiliatedUnits;
    }
    public Date getReplyTime() {
        return this.replyTime;
    }
    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }
    public String getReplyNo() {
        return this.replyNo;
    }
    public void setReplyNo(String replyNo) {
        this.replyNo = replyNo;
    }
    public String getListing() {
        return this.listing;
    }
    public void setListing(String listing) {
        this.listing = listing;
    }
    public String getListingUnit() {
        return this.listingUnit;
    }
    public void setListingUnit(String listingUnit) {
        this.listingUnit = listingUnit;
    }
    public String getContacts() {
        return this.contacts;
    }
    public void setContacts(String contacts) {
        this.contacts = contacts;
    }
    public String getContactsInfo() {
        return this.contactsInfo;
    }
    public void setContactsInfo(String contactsInfo) {
        this.contactsInfo = contactsInfo;
    }
    public String getReplyDoc() {
        return this.replyDoc;
    }
    public void setReplyDoc(String replyDoc) {
        this.replyDoc = replyDoc;
    }

    public List<WQbdQuasuporgAffirm> getwQbdQuasuporgAffirmList() {
        return wQbdQuasuporgAffirmList;
    }

    public void setwQbdQuasuporgAffirmList(List<WQbdQuasuporgAffirm> wQbdQuasuporgAffirmList) {
        this.wQbdQuasuporgAffirmList = wQbdQuasuporgAffirmList;
    }

    public List<WQbdQuasuporgInspect> getwQbdQuasuporgInspectList() {
        return wQbdQuasuporgInspectList;
    }

    public void setwQbdQuasuporgInspectList(List<WQbdQuasuporgInspect> wQbdQuasuporgInspectList) {
        this.wQbdQuasuporgInspectList = wQbdQuasuporgInspectList;
    }

    public List<WQbdQuasuporgMeeting> getwQbdQuasuporgMeetingList() {
        return wQbdQuasuporgMeetingList;
    }

    public void setwQbdQuasuporgMeetingList(List<WQbdQuasuporgMeeting> wQbdQuasuporgMeetingList) {
        this.wQbdQuasuporgMeetingList = wQbdQuasuporgMeetingList;
    }

    public List<WQbdQuasuporgSummary> getwQbdQuasuporgSummaryList() {
        return wQbdQuasuporgSummaryList;
    }

    public void setwQbdQuasuporgSummaryList(List<WQbdQuasuporgSummary> wQbdQuasuporgSummaryList) {
        this.wQbdQuasuporgSummaryList = wQbdQuasuporgSummaryList;
    }

    public List<WQbdQuasuporgSystem> getwQbdQuasuporgSystemList() {
        return wQbdQuasuporgSystemList;
    }

    public void setwQbdQuasuporgSystemList(List<WQbdQuasuporgSystem> wQbdQuasuporgSystemList) {
        this.wQbdQuasuporgSystemList = wQbdQuasuporgSystemList;
    }

    @Override
    public String toString() {
        return "WQbdQuasuporgBase{" +
                "id='" + id + "'," +
                "orgName='" + orgName + "'," +
                "affiliatedUnits='" + affiliatedUnits + "'," +
                "replyTime='" + replyTime + "'," +
                "replyNo='" + replyNo + "'," +
                "listing='" + listing + "'," +
                "listingUnit='" + listingUnit + "'," +
                "contacts='" + contacts + "'," +
                "contactsInfo='" + contactsInfo + "'," +
                "replyDoc='" + replyDoc + "'" +
                '}';
    }

}
